﻿<%@ Page Title="" Language="C#" MasterPageFile="~/administrator/site.master" AutoEventWireup="true" CodeFile="edit-news.aspx.cs" Inherits="administrator_edit_news" %>
<%@ Register TagPrefix="ck" Namespace="CKEditor.NET" Assembly="CKEditor.NET, Version=3.6.2.0, Culture=neutral, PublicKeyToken=e379cdf2f8354999" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
   <table class="tbthemsp" width="100%" cellspacing="5">
            <tr>
                <td colspan="2"><asp:Label runat="server" ID="lblthongbao" ForeColor="red" BackColor="yellow"></asp:Label></td>
            </tr>
              <tr><td>Chọn lại nhóm tin:<asp:CheckBox runat="server" ID="chkchonlai"/></td><td>
                    <asp:DropDownList runat="server" ID="drdlnhomtin" Width="250"/></td></tr>
            <tr class="ok"><td>Tiêu đề tin:</td><td><asp:TextBox runat="server" 
                    ID="txttieude" CssClass="textbox1" Width="494px"></asp:TextBox></td></tr>
                <tr><td>Ảnh:</td><td>   <asp:FileUpload ID="FileUpload1" runat="server" />&nbsp;</td>  </tr>
            <tr><td>Mô tả tóm tắt:</td><td><asp:TextBox runat="server" ID="txttomtat" CssClass="textbox1" TextMode="MultiLine" Width="500px" Rows="8"></asp:TextBox></td></tr>
            <tr><td colspan="2">Mô tả chi tiết:</td></tr>
            <tr><td colspan="2"><ck:CKEditorControl   ID="FCK" runat="server" Width="690" BasePath="ckeditor" Height="700px" ToolbarBasic="Basic"></ck:CKEditorControl></td></tr>
            <tr><td colspan="2">Thêm mới<asp:ImageButton runat="server" ID="imbtthem" 
                    AlternateText="Thêm mới" ImageUrl="images/tick_button.png" OnClick="UpdateNews"/>&nbsp;&nbsp;&nbsp;[<a onclick="window.history.go(-1);" href="javascript:void(0);">Quay lại</a>]
</td></tr>
        </table>
</asp:Content>

